/**
 * 基础路由
 * @type { *[] }
 */

const constantRouterMap = [
  // {
  //   path: '/',
  //   name: 'Example',
  //   redirect: { name: 'ExampleHelloIndex' },
  //   meta: {
  //     requireAuth: true
  //   },
  //   children: [
  //     {
  //       path: '/example',
  //       name: 'ExampleHelloIndex',
  //       meta: {
  //         requireAuth: true
  //       },
  //       component: () => import('@/views/example/hello/Index.vue')
  //     },
  //   ]
  // },
  {
    path: '/',
    name: 'Index',
    meta: {
      requireAuth: true
    },
    component: () => import('@/views/Index.vue')
  },
  {
    path: '/login',
    name: 'Login',
    component: () => import('@/views/Login.vue')
  },
  {
    path: '/testRule',
    name: 'TestRule',
    meta: {
      requireAuth: true
    },
    component: () => import('@/views/TestRule.vue')
  },
]

export default constantRouterMap